import request from '@/utils/request'

export function getList(query) {
  return request({
    url: '/api/hospital/projectTable/getlist',
    method: 'get',
    params: query
  })
}

export function xmList(query) {
  return request({
    url: '/api/hospital/projectTable/xmList',
    method: 'get',
    params: query
  })
}

export function addProject(query) {
  return request({
    url: '/api/hospital/projectTable/addProject',
    method: 'post',
    params: query
  })
}

export function   updateProject(query) {
  return request({
    url: '/api/hospital/projectTable/updateProject',
    method: 'post',
    params: query
  })
}
